from django.http import HttpResponse, JsonResponse
from mycelery.sms.tasks import send_sms

def test_task(request):
    res = send_sms.delay('21321')
    return JsonResponse({'status': 200,"result": res.id})